package com.bluedot.queue.impl;

import com.bluedot.queue.InQueue;

/**
 * service向mapper传递处理请求使用的队列<br/>
 * 属性及方法都在父类中完成定义及实现,这个类主要作用是提供实现及维护单例
 */
public class ServiceMapperQueue extends InQueue {

    private ServiceMapperQueue() {
    }

    public static ServiceMapperQueue getInstance() {
        return ServiceMapperQueue.QueueHolder.serviceMapperQueue;
    }

    private static class QueueHolder {

        private static final ServiceMapperQueue serviceMapperQueue = new ServiceMapperQueue();
    }
}
